package Decorator;

import Component.Component;
import Component.ComponentDecorator;

public class BlackBorder extends ComponentDecorator {
    public BlackBorder(Component component) {
        super(component);
    }

    public void Show() {
        this.setBlackBorder();
        super.Show();
    }

    public void setBlackBorder() {
        System.out.println("黑色边框");
    }
}
